package com.itheima.store.service;

import com.itheima.store.entity.Category;

import java.util.List;

public interface CategoryService {
    List<Category> findAll();

    Category findCategoryById(String cid);

    boolean deleteCategory(String cid);

    boolean editCategoryById(String cid, String cname);

    boolean addCategory(String cname,String ccid);
}
